<template>
  <div>
    <el-container id="el-container">
      <el-aside width="auto">
        <Aside></Aside>
      </el-aside>
      <el-container>
        <el-header>
          <Header></Header>
        </el-header>
        <el-main style="height: calc(100vh - 60px)">
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Aside from "../components/Aside.vue";
import Header from "../components/Header.vue";
import Home from "./Home.vue";
export default {
  name: "",
  components: { Aside, Header, Home },
};
</script>

<style lang="scss" scoped>
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  // text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  // text-align: center;
  // line-height: 200px;
  height: 100vh;
}

// .el-main {
//     background-color: #E9EEF3;
//     color: #333;
//     text-align: center;
//     line-height: 160px;
// }

// body>.el-container {
//     margin-bottom: 40px;
// }

// .el-container:nth-child(5) .el-aside,
// .el-container:nth-child(6) .el-aside {
//     line-height: 260px;
// }

// .el-container:nth-child(7) .el-aside {
//     line-height: 320px;
// }

#container {
  height: 100vh;
}
</style>
